package com.yjz.jvm.juc.线程.线程算法题1;

public class Test {
    public static void main(String[] args) {
        Target t = new Target();

        Thread t1 = new Increase(t);
        t1.setName("Increase");
        Thread t2 = new Decrease(t);
        t2.setName("Decrease");

        t1.start();
        t2.start();
    }
}
